import {
  validatePresence,
  validateLength,
  validateConfirmation,
  validateFormat
} from 'ember-changeset-validations/validators';

export default {
  employee: [
    validatePresence({ presence: true, message: '员工姓名不能为空' }),
  ],
  type: [
    validatePresence({ presence: true, message: '绩效类型不能为空' }),
  ],
  typeName: [
    validatePresence({ presence: true, message: '规定项目不能为空' }),
  ],
  typeItemName: [
    validatePresence({ presence: true, message: '规定细则不能为空' }),
  ],
};
